package ooday02;

public class  AnimalTexst {
    public static void main(String[] args) {
        Dog xg=new Dog("小狗",2,"黑白");
        xg.eat();
        xg.lookHome();
        xg.drink();
        Chick xj=new Chick("小鸡",1,"黄");
        xj.eat();
        xj.layEggs();
        xj.drink();
        Fish yy= new Fish("鱼",3,"金");
        yy.eat();
        yy.drink();
    }
}
